package com.aspose.cells;

public class LabelActiveXControl extends ActiveXControl {
   LabelActiveXControl(Shape shape) {
      super(shape);
      this.e = new zaa();
      this.e.a = 8388635;
   }

   public int getType() {
      return 7;
   }

   int a(int var1) {
      switch(var1) {
      case 0:
         return 2048;
      case 1:
         return 256;
      case 2:
         return 128;
      case 3:
         return 1;
      case 4:
         return 2;
      case 5:
         return 64;
      case 6:
      case 10:
      case 11:
      case 13:
      default:
         return 0;
      case 7:
         return 512;
      case 8:
         return 32;
      case 9:
         return 1024;
      case 12:
         return 16;
      case 14:
         return 4;
      case 15:
         return 4096;
      case 16:
         return 8;
      }
   }

   public String getCaption() {
      return this.e.n;
   }

   public void setCaption(String value) {
      this.e.n = value;
      this.b(16);
   }

   public int getPicturePosition() {
      return this.e.l;
   }

   public void setPicturePosition(int value) {
      this.e.l = value;
      this.b(12);
   }

   public int getBorderOleColor() {
      return this.e.e;
   }

   public void setBorderOleColor(int value) {
      this.e.e = value;
      this.b(2);
   }

   public int getBorderStyle() {
      return this.e.d & 255;
   }

   public void setBorderStyle(int value) {
      this.e.d = 1;
      this.b(1);
   }

   public int getSpecialEffect() {
      return this.e.f & 255;
   }

   public void setSpecialEffect(int value) {
      this.e.f = (byte)value;
      this.b(7);
   }

   public byte[] getPicture() {
      return this.e.j;
   }

   public void setPicture(byte[] value) {
      this.e.j = value;
      this.b(9);
   }

   public char getAccelerator() {
      return this.e.m;
   }

   public void setAccelerator(char value) {
      this.e.m = value;
      this.b(0);
   }

   public boolean isWordWrapped() {
      return this.e.a(23);
   }

   public void setWordWrapped(boolean value) {
      this.e.a(23, value);
      this.b(14);
   }
}
